<script id="template_material_file" type="text/x-jsrender">
    <div class="w-500 parsley-box-file">
        <input type="file" class="box-file init-file" {{if isRequired}}required=""{{/if}} data-msgtip-top="点击上传{{:width}}*{{:height}}的图片或把图片拖拽至此处" data-msgtip-bottom="({{:fileFormat}}{{if size}}，小于{{:size}}kb{{/if}})" {{if size}}data-img-size="{{:size}}"{{/if}} data-img-width="{{:width}}" data-img-height="{{:height}}" data-file-format="{{:fileFormat}}"  data-url="{{:urlValue}}" data-img-id="{{:imgId}}" data-t-spec-id="{{:tSpecId}}" data-upd-id="{{:updId}}" data-group-index="{{:groupIndex}}" data-is-required="{{:isRequired}}">
    </div>
</script>
<script id="template_material_native_detail" type="text/x-jsrender">
    <div class="tabs-native tabs-level-hyaline">
        <ul class="nav nav-tabs" id="tabs_material_list">
            {{for list}}
                <li class="{{if index==0}}active{{/if}}"><a href="#tab_native_{{:tSpecId}}" data-toggle="tab"><span class="">{{:tabName}}</span></a></li>
            {{/for}}
        </ul>
        <div class="tab-content">
        {{for list}}
            <div class="tab-pane{{if index==0}} active{{/if}}" id="tab_native_{{:tSpecId}}" data-t-spec-id="{{:tSpecId}}">
                <div class="form-horizontal">
                    {{if isStruct}}
                        {{if tipMsg.length>0}}<div class="form-group native-element-msg"><label class="col-md-2 control-label"></label><div class="col-md-10"><span class="box-must h-l-inherit">·</span><span>{{:tipMsg}}</span></div></div>{{/if}}
                    {{/if}}
                    {{for list}}{{include tmpl="#template_material_input_detail"/}}{{/for}}
                </div>
            </div>
        {{/for}}
        </div>
    </div>
</script>
<script id="template_material_input_detail" type="text/x-jsrender">
     <div class="form-group native-element">
        <label class="col-md-2 control-label">{{:lableText}}</label>
        <div class="col-md-10">
            {{if isRequiredIcon}}<span class="box-must">·</span>{{/if}}
            {{if isText}}
                <input class="form-control box-input" type="text" value="{{:textValue}}" data-t-spec-id="{{:tSpecId}}" data-upd-id="{{:updId}}" data-group-index="{{:groupIndex}}" placeholder="{{:placeholder}}" {{if isRequired}}required=""{{/if}} {{if minLength>0}}data-parsley-stringlenmin="{{:minLength}}"{{/if}} {{if maxLength>0}}data-parsley-stringlenmax="{{:maxLength}}"{{/if}} data-is-required="{{:isRequired}}">
            {{else isImage}}
                {{include tmpl="#template_material_file"/}}
            {{/if}}
        </div>
    </div>
</script>